
abstract class Aliment {
	private int putereCalorica;
	private int cantGlucide;
	private int cantLipide;
	private int cantProteine;
	public Aliment(int putereCalorica, int cantGlucide, int cantLipide,	int cantProteine) {
		super();
		this.putereCalorica = putereCalorica;
		this.cantGlucide = cantGlucide;
		this.cantLipide = cantLipide;
		this.cantProteine = cantProteine;
	}
	public int getPutereCalorica() {
		return putereCalorica;
	}
	public void setPutereCalorica(int putereCalorica) {
		this.putereCalorica = putereCalorica;
	}
	public int getCantGlucide() {
		return cantGlucide;
	}
	public void setCantGlucide(int cantGlucide) {
		this.cantGlucide = cantGlucide;
	}
	public int getCantLipide() {
		return cantLipide;
	}
	public void setCantLipide(int cantLipide) {
		this.cantLipide = cantLipide;
	}
	public int getCantProteine() {
		return cantProteine;
	}
	public void setCantProteine(int cantProteine) {
		this.cantProteine = cantProteine;
	}
	@Override
	public String toString() {
		return "Aliment [putereCalorica=" + putereCalorica + ", cantGlucide="
				+ cantGlucide + ", cantLipide=" + cantLipide
				+ ", cantProteine=" + cantProteine + "]";
	}
	
	
}
